package com.ccp.dev.qbdms.model;

import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.FlowSubject;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.Record;

import java.util.Date;

/**
 * 失效分析表 w_qbd_failure_analysis_info
 *
 * @author zzy
 * @date 2020-07-07 10:43:27
 */
@ExpAnnotation(description = "失效分析信息")
@ImpAnnotation(description = "失效分析信息")
@FlowSubject(subjectName = "失效分析信息")
public class WQbdFailureAnalysisInfo extends BaseBusinessModel<WQbdFailureAnalysisInfo> {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 元器件名称
     */
    @Record("元器件名称")
    @ExpAnnotation(description = "元器件名称")
    @ImpAnnotation(description = "元器件名称", isRequired = true)
    private String componentsName;
    /**
     * 分析单位
     */
    @Record("分析单位")
    @ExpAnnotation(description = "分析单位")
    @ImpAnnotation(description = "分析单位", isRequired = true)
    private String unitOfAnalysis;
    /**
     * 失效分析报告编号
     */
    @Record("失效分析报告编号")
    @ExpAnnotation(description = "失效分析报告编号")
    @ImpAnnotation(description = "失效分析报告编号", isRequired = true)
    private String failAnalysisReportNo;
    /**
     * 失效时间
     */
    @Record("失效时间")
    @ExpAnnotation(description = "失效时间")
    @ImpAnnotation(description = "失效时间", isRequired = true)
    private Date expirationTime;
    /**
     * 型号规格
     */
    @Record("型号规格")
    @ExpAnnotation(description = "型号规格")
    @ImpAnnotation(description = "型号规格", isRequired = true)
    private String modelSpec;
    /**
     * 批次
     */
    @Record("批次")
    @ExpAnnotation(description = "批次")
    @ImpAnnotation(description = "批次", isRequired = true)
    private String batch;
    /**
     * 生产单位
     */
    @Record("生产单位")
    @ExpAnnotation(description = "生产单位")
    @ImpAnnotation(description = "生产单位", isRequired = true)
    private String productionUnit;
    /**
     * 质量等级
     */
    @Record("质量等级")
    @ExpAnnotation(description = "质量等级",dicKey = "dpazldj")
    @ImpAnnotation(description = "质量等级", isRequired = true,dicKey = "dpazldj")
    private String qualityLevel;
    /**
     * 失效数量
     */
    @Record("失效数量")
    @ExpAnnotation(description = "失效数量")
    @ImpAnnotation(description = "失效数量", isRequired = true)
    private String failNums;
    /**
     * 所属型号代号
     */
    @Record("所属型号代号")
    @ExpAnnotation(description = "所属型号代号")
    @ImpAnnotation(description = "所属型号代号", isRequired = true)
    private String modelCode;
    /**
     * 所属整机代号
     */
    @Record("所属整机代号")
    @ExpAnnotation(description = "所属整机代号")
    @ImpAnnotation(description = "所属整机代号", isRequired = true)
    private String machineCode;
    /**
     * 失效发生阶段
     */
    @Record("失效发生阶段")
    @ExpAnnotation(description = "失效发生阶段",dicKey = "sxfsjd")
    @ImpAnnotation(description = "失效发生阶段", isRequired = true,dicKey = "sxfsjd")
    private String failStage;
    /**
     * 失效模式
     */
    @Record("失效模式")
    @ExpAnnotation(description = "失效模式",dicKey = "sxms")
    @ImpAnnotation(description = "失效模式", isRequired = true,dicKey = "sxms")
    private String failMode;
    /**
     * 委托单位
     */
    @Record("委托单位")
    @ExpAnnotation(description = "委托单位")
    @ImpAnnotation(description = "委托单位", isRequired = true)
    private String requester;
    /**
     * 失效地点
     */
    @Record("失效地点")
    @ExpAnnotation(description = "失效地点")
    @ImpAnnotation(description = "失效地点", isRequired = true)
    private String failPlace;
    /**
     * 分析结论
     */
    @Record("分析结论")
    @ExpAnnotation(description = "分析结论",dicKey = "fxjl")
    @ImpAnnotation(description = "分析结论", isRequired = true,dicKey = "fxjl")
    private String analysisConclusion;
    /**
     * 失效原因
     */
    @Record("失效原因")
    @ExpAnnotation(description = "失效原因",dicKey = "sxyy")
    @ImpAnnotation(description = "失效原因", isRequired = true,dicKey = "sxyy")
    private String reasonForFail;
    /**
     * 故障现象
     */
    @Record("故障现象")
    @ExpAnnotation(description = "故障现象")
    @ImpAnnotation(description = "故障现象", isRequired = true)
    private String failPhenomenon;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getComponentsName() {
        return componentsName;
    }

    public void setComponentsName(String componentsName) {
        this.componentsName = componentsName;
    }

    public String getUnitOfAnalysis() {
        return unitOfAnalysis;
    }

    public void setUnitOfAnalysis(String unitOfAnalysis) {
        this.unitOfAnalysis = unitOfAnalysis;
    }

    public String getFailAnalysisReportNo() {
        return failAnalysisReportNo;
    }

    public void setFailAnalysisReportNo(String failAnalysisReportNo) {
        this.failAnalysisReportNo = failAnalysisReportNo;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

    public String getModelSpec() {
        return modelSpec;
    }

    public void setModelSpec(String modelSpec) {
        this.modelSpec = modelSpec;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getProductionUnit() {
        return productionUnit;
    }

    public void setProductionUnit(String productionUnit) {
        this.productionUnit = productionUnit;
    }

    public String getQualityLevel() {
        return qualityLevel;
    }

    public void setQualityLevel(String qualityLevel) {
        this.qualityLevel = qualityLevel;
    }

    public String getFailNums() {
        return failNums;
    }

    public void setFailNums(String failNums) {
        this.failNums = failNums;
    }

    public String getModelCode() {
        return modelCode;
    }

    public void setModelCode(String modelCode) {
        this.modelCode = modelCode;
    }

    public String getMachineCode() {
        return machineCode;
    }

    public void setMachineCode(String machineCode) {
        this.machineCode = machineCode;
    }

    public String getFailStage() {
        return failStage;
    }

    public void setFailStage(String failStage) {
        this.failStage = failStage;
    }

    public String getFailMode() {
        return failMode;
    }

    public void setFailMode(String failMode) {
        this.failMode = failMode;
    }

    public String getRequester() {
        return requester;
    }

    public void setRequester(String requester) {
        this.requester = requester;
    }

    public String getFailPlace() {
        return failPlace;
    }

    public void setFailPlace(String failPlace) {
        this.failPlace = failPlace;
    }

    public String getAnalysisConclusion() {
        return analysisConclusion;
    }

    public void setAnalysisConclusion(String analysisConclusion) {
        this.analysisConclusion = analysisConclusion;
    }

    public String getReasonForFail() {
        return reasonForFail;
    }

    public void setReasonForFail(String reasonForFail) {
        this.reasonForFail = reasonForFail;
    }

    public String getFailPhenomenon() {
        return failPhenomenon;
    }

    public void setFailPhenomenon(String failPhenomenon) {
        this.failPhenomenon = failPhenomenon;
    }


    @Override
    public String toString() {
        return "WQbdFailureAnalysisInfo{" +
                "id='" + id + '\'' +
                ", componentsName='" + componentsName + '\'' +
                ", unitOfAnalysis='" + unitOfAnalysis + '\'' +
                ", failAnalysisReportNo='" + failAnalysisReportNo + '\'' +
                ", expirationTime=" + expirationTime +
                ", modelSpec='" + modelSpec + '\'' +
                ", batch='" + batch + '\'' +
                ", productionUnit='" + productionUnit + '\'' +
                ", qualityLevel='" + qualityLevel + '\'' +
                ", failNums='" + failNums + '\'' +
                ", modelCode='" + modelCode + '\'' +
                ", machineCode='" + machineCode + '\'' +
                ", failStage='" + failStage + '\'' +
                ", failMode='" + failMode + '\'' +
                ", requester='" + requester + '\'' +
                ", failPlace='" + failPlace + '\'' +
                ", analysisConclusion='" + analysisConclusion + '\'' +
                ", reasonForFail='" + reasonForFail + '\'' +
                ", failPhenomenon='" + failPhenomenon + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", updateBy='" + updateBy + '\'' +
                ", tenantId='" + tenantId + '\'' +
                '}';
    }
}